package com.zhkj.framework.service.impl;

import com.zhkj.framework.domain.User;
import com.zhkj.framework.mapper.UserMapper;
import com.zhkj.framework.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: zhangy
 * @Date: 2018/10/12 10:06
 * @Description:
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> finaUsers() {

        List<User> users = userMapper.selectAll();
        return users;
    }
}
